package com.baizhi.mapper;

import com.baizhi.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.elasticsearch.common.recycler.Recycler;

@Mapper
public interface CommentMapper {
    Comment selectComment(Integer cid);
    //添加
    void insertComment(Comment comment);
    void deleteByCId(@Param("cId") Integer cId,
                             @Param("uId") Integer userId);
}
